package com.pzhu.record.service.impl;

import com.pzhu.record.entity.Course;
import com.pzhu.record.service.CourseService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Zhou YuSen
 * @date 2020/4/22 18:51
 */
@Service("courseService")
public class CourseServiceImpl extends BaseServiceImpl implements CourseService {
    @Override
    public List<Course> selectAll() {
        return courseMapper.selectAll();
    }

    @Override
    public List<Course> selectAllYear() {
        return courseMapper.selectAllYear();
    }
}
